public class Main {
    public static UserAccountArray userAccountArray = new UserAccountArray();
    public static UserInfArray userInfArray = new UserInfArray();

    public static CourseInfArray courseInfArray = new CourseInfArray();

    public static GradeInfArray gradeInfArray = new GradeInfArray();
    public static Controller controller = new Controller();
//    private static LoggerThread loggerThread = new LoggerThread();

    public static DataUpdate dataUpdate = new DataUpdate();



    public static int userFlag = -1;//0学生，1老师，2管理员
    public static void main(String[] args) {
        Init();
        Login login = new Login();
        login.loginMenu();



    }

    public static void Init()
    {
        userAccountArray.UserAccountArrayInit();
        userInfArray.userInfArrayInit();
        courseInfArray.CourseInfArrayInit();
        dataUpdate.start();
    }
}